@import '../libs/variable';
.page-layout {
  min-height: 100%;
  
  .ant-layout-header {
    .right-block {
      float: right;
      height: 100%;
      padding-right: 10px; // background:#000;
    }
    .user-wrapper {
      display: inline-block;
      height: 100%;
      padding: 0 10px;
      &:hover {
        background: $linkHoverBg;
      }
    }
    .name {
      color: $color;
      display: inline-block;
      margin-left: 5px;
    }
  }
}

.user-pop {
  min-width: 140px;
  margin-top: -10px;
  .ant-popover-arrow {
    display: none;
  }
  .ant-popover-inner-content {
    padding: 0;
  }
  .user-menu {
    border-radius: 5px;
    border-right-width: 0;
    overflow: hidden;
    .ant-menu-item {
      padding: 0 10px;
      margin: 0;
      line-height: 26px;
      height: 26px;
      font-size: 14px;
      color: rgba($color: #000000, $alpha: 0.65);
      &.ant-menu-item-selected{
        background:none;
      }
      &.ant-menu-item-active{
        background: #eee;
      }
    }
    .anticon {
      margin-right: 5px;
    }
  }
}
